/**   
 * @Title: BeanUtils.java 
 * CopyRight(c)2010-DMX 
 */
package com.dmx.fw.constant;

import java.util.ArrayList;
import java.util.List;

/** 
 * @Description: 显示层常用常量
 * @author: system
 * @date: 2006
 * @version V1.0 
 * 
 */
public class ViewConstant {
	
	//添加输入
	public static final String ADDINPUT = "addInput";
	//添加提交
	public static final String ADDSUBMIT = "addSubmit";
	//编辑输入
	public static final String EDITINPUT = "editInput";
	//编辑提交
	public static final String EDITSUBMIT = "editSubmit";
	//删除动作
	public static final String DELETE = "delete";
	//查看动作
	public static final String VIEW = "view";
	
	public static final String QUERY = "query";
	
	public static final String REQUERY = "reQuery";
	
	public static final String NOQUERY = "noQuery";
	
	
	//页面添加状态
	public static final String ADDSTATUS = "add";
	//页面编辑状态
	public static final String EDITSTATUS = "edit";
	//页面查看状态
	public static final String VIEWSTATUS = "view";
	//其它页面
	public static final String OTHERTATUS = "other";

	//通用查询保存查询条件的session的属性名称
	public final static String COMMONQUERY_CONDITION_SESSION_NAME = "COMMONQUERY_CONDITION_SESSION_NAME";
	
	//菜单列表
	public static final String USER_PERMISSION_SESSION = "USER_PERMISSION_SESSION";
	
    //授权的非菜单功能
	public static final String USER_AUTH_FUNC_SESSION = "USER_AUTH_FUNC_SESSION";
	
	//禁用菜单列表
	public static final String DISABLEMENUINFO = "DISABLEMENUINFO";
	
	//session中错误信息属性的key
	public static final String GLOBAL_ERROR_INFO_KEY = "GLOBAL_ERROR_INFO_KEY";
	
	public static final String GLOBAL_SUCCESS_INFO_KEY = "GLOBAL_SUCCESS_INFO_KEY";
	
	public static final String RE_LOCATION_URL_KEY = "RE_LOCATION_URL_KEY";
	
	//session中存放action成功需要转发的url
	public static final String ACTION_SUCCESS_URL = "ACTION_SUCCESS_URL";
	
	public static final String ACTION_EXEC_RESULT = "ACTION_EXEC_RESULT";
	
	//保存详细错误信息的session的属性名
	public static final String GLOBAL_DETAIL_ERROR_INFO_KEY = "GLOBAL_DETAIL_ERROR_INFO_KEY";
	
	//保存在session中的登录用户信息key
	public static final String OPERATOR_SESSION_KEY = "currOptr";
	

}
